package br.com.puertorico.model.querybuilder.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Indicates the static part of the query that will be generated.
 *
 * @author daniel.camargo
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface CriteriaQuery {

	/**
	 * A string contendo a query.
	 *
	 * @return
	 */
	String query();

	String selectCount() default "";

	String expressionHint() default "";
}
